<?php

namespace App\Models;

use App\Traits\WorkerMysqlConnect;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class u_bet_front_mas extends Model
{
    use HasFactory;
    use WorkerMysqlConnect;

    protected $table = 'u_bet_front_mas';

    public static function getAllBetFrontMas($pid,$room)
    {
        return self::query()
            ->select('*')
            ->where(compact('pid','room'))->get()->toArray();
    }
}
